﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace Chat_Model
{
    /// <summary>
    /// 用户表
    ///</summary>
    [SugarTable("lar_users")]
    public class LarUsers
    {
        /// <summary>
        /// 用户ID 
        ///</summary>
         [SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true  )]
         public int Id { get; set; }
        /// <summary>
        /// 手机号 
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="mobile"    )]
         public string Mobile { get; set; }
        /// <summary>
        /// 用户昵称 
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="nickname"    )]
         public string Nickname { get; set; }
        /// <summary>
        /// 用户头像地址 
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="avatar"    )]
         public string Avatar { get; set; }
        /// <summary>
        /// 用户性别  0:未知  1:男   2:女 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="gender"    )]
         public int Gender { get; set; }
        /// <summary>
        /// 用户密码 
        ///</summary>
         [SugarColumn(ColumnName="password"    )]
         public string Password { get; set; }
        /// <summary>
        /// 用户座右铭 
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="motto"    )]
         public string Motto { get; set; }
        /// <summary>
        /// 用户邮箱 
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="email"    )]
         public string Email { get; set; }
        /// <summary>
        /// 注册时间 
        ///</summary>
         [SugarColumn(ColumnName="created_at"    )]
         public DateTime? CreatedAt { get; set; }
        /// <summary>
        /// 是否机器人[0:否;1:是;] 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="is_robot"    )]
         public string IsRobot { get; set; }
        /// <summary>
        /// 更新时间 
        ///</summary>
         [SugarColumn(ColumnName="updated_at"    )]
         public DateTime? UpdatedAt { get; set; }
    }
}
